<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@include file="common/header.jsp"%>
<div class="clearfix"></div>
<div class="row">
  <div class="col-md-12 col-sm-12 col-xs-12">
    <div class="x_panel">
      <div class="x_title">
        <h2>新增采购计划 <i class="fa fa-user"></i><small>${devUserSession.devName}</small></h2>
             <div class="clearfix"></div>
      </div>
      <div class="x_content">
	  <!-- <div class="item form-group">
               <label class="control-label col-md-3 col-sm-3 col-xs-12" ></label>
               <div class="col-md-6 col-sm-6 col-xs-12">
                 <form action="uploadlogo" class="dropzone" style="height:100px;">
                 </form>
            <div class="clearfix"></div>
         </div>
       </div> -->
           <div class="clearfix"></div>
        <form class="form-horizontal form-label-left" action="${pageContext.request.contextPath}/caigou/insert" method="post" enctype="multipart/form-data">
          <div class="item form-group">
            <label class="control-label col-md-3 col-sm-3 col-xs-12" for="name">采购编号 <span class="required">*</span>
            </label>
            <div class="col-md-6 col-sm-6 col-xs-12">
              <input id="softwareName" class="form-control col-md-7 col-xs-12" 
               data-validate-length-range="20" data-validate-words="1" name="planId"  required="required"
               placeholder="" type="text">
            </div>
          </div>
          <div class="item form-group">
            <label class="control-label col-md-3 col-sm-3 col-xs-12" for="name">制单日期<span class="required">*</span>
            </label>
            <div class="col-md-6 col-sm-6 col-xs-12">
              <input id="APKName" class="form-control col-md-7 col-xs-12" 
              	data-validate-length-range="20" data-validate-words="1" name="planData"   required="required"
              	placeholder="" type="date" value="">
            </div>
          </div>
           
          <div class="item form-group">
            <label class="control-label col-md-3 col-sm-3 col-xs-12" for="name">总金额 <span class="required">*</span>
            </label>
            <div class="col-md-6 col-sm-6 col-xs-12">
              <input id="supportROM" class="form-control col-md-7 col-xs-12" name="planPrice" 
              	data-validate-length-range="20" data-validate-words="1"   required="required"
              	placeholder="" type="text" value="0" readonly="readonly">
            </div>
          </div>

           <div class="item form-group">
            <label class="control-label col-md-3 col-sm-3 col-xs-12" for="number">供应商 <span class="required">*</span>
            </label>
           <div class="col-md-6 col-sm-6 col-xs-12">
								<select name="planHandled" class="form-control">
									<c:if test="${suppiler != null }">
									   <option value="">--请选择--</option>
									   <c:forEach var="suppiler" items="${suppiler}">
									   		<option value="${suppiler.supplierId}">${suppiler.supplierName}</option>
									   </c:forEach>
									</c:if>
        						</select>
							</div>

          </div>
          <div class="item form-group">
            <label class="control-label col-md-3 col-sm-3 col-xs-12" for="number">审核状态 <span class="required">*</span>
            </label>
            <div class="col-md-6 col-sm-6 col-xs-12">
             <input id="supportROM" class="form-control col-md-7 col-xs-12" name="" 
              	data-validate-length-range="20" data-validate-words="1"   required="required"
              	placeholder="" type="text" readonly="readonly" value="未审核">
              	<input name="planAudit" type="hidden"  value="1">
            </div>
           
          </div>
          
          <div class="item form-group">
            <label class="control-label col-md-3 col-sm-3 col-xs-12" for="number">执行状态 <span class="required">*</span>
            </label>
            <div class="col-md-6 col-sm-6 col-xs-12">
               <input id="supportROM" class="form-control col-md-7 col-xs-12" name="" 
              	data-validate-length-range="20" data-validate-words="1"   required="required"
              	placeholder="" type="text"  readonly="readonly" value="未执行">
              		<input name="planExecute" type="hidden"  value="1">
            </div>
          </div>
          
          <div class="item form-group">
            <label class="control-label col-md-3 col-sm-3 col-xs-12" for="textarea">备注 <span class="required">*</span>
            </label>
            <div class="col-md-6 col-sm-6 col-xs-12">
              <textarea id="appInfo" name="planRemark"     required="required"
              placeholder="" class="form-control col-md-7 col-xs-12"></textarea>
            </div>
          </div>
          <div class="form-group">
            <div class="col-md-6 col-md-offset-3">
              <button id="send" type="submit" class="btn btn-success">保存</button>
              <button type="button" class="btn btn-primary" id="back">返回</button>
              <br/><br/>
            </div>
          </div>
        </form>
      </div>
    </div>
  </div>
</div>
<%@include file="common/footer.jsp"%>
<script src="${pageContext.request.contextPath }/statics/localjs/appinfoadd.js"></script>